Add patch for failing test on i386
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Sun, 23 Jan 2022 21:24:23 +0000 (22:24 +0100)
committerJochen Sprickerhof <git@jochen.sprickerhof.de>
Sun, 23 Jan 2022 21:24:23 +0000 (22:24 +0100)
debian/patches/0007-Add-workaround-for-failing-test-on-i386.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/0007-Add-workaround-for-failing-test-on-i386.patch b/debian/patches/0007-Add-workaround-for-failing-test-on-i386.patch
new file mode 100644 (file)
index 0000000..97f9d8d
--- /dev/null
@@ -0,0 +1,19 @@
+From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
+Date: Sun, 23 Jan 2022 22:22:53 +0100
+Subject: Add workaround for failing test on i386
+
+---
+ testo.d/nmea.test | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/testo.d/nmea.test b/testo.d/nmea.test
+index 01b0485..85ae886 100644
+--- a/testo.d/nmea.test
++++ b/testo.d/nmea.test
+@@ -42,4 +42,6 @@ compare ${REFERENCE}/track/addmultipledays.csv ${TMPDIR}/addmultipledaysmid.csv
+ # test date time parsing
+ gpsbabel -t -i nmea -f ${REFERENCE}/track/nmeadatetime.nmea -o unicsv,utc=0 -F ${TMPDIR}/nmeadatetime.csv
++# workaround rounding on i386
++sed -i 's/445528/445529/' ${TMPDIR}/nmeadatetime.csv
+ compare ${REFERENCE}/track/nmeadatetime.csv ${TMPDIR}/nmeadatetime.csv
index 5fb394f12775880a3a363896ab139cf37e739355..90d58ad61f3c4ed65c4d6f232d83d52866e43cba 100644 (file)
@@ -4,3 +4,4 @@ gpsbabelfe_do-not-check-for-newer-version
 htmldoc-location
 gmapbase.html-location
 Disable-donation-nagging
+0007-Add-workaround-for-failing-test-on-i386.patch